#!/bin/bash
build_tomcat9-jdk8-jmx-exporter(){
  cd dockerfile/tomcat9-jdk8-jmx-exporter/
  /bin/bash build.sh
  docker save -o tomcat.tar.gz tomcat:9.0.73-jdk8-jmx-exporter
  ctr -n k8s.io images import tomcat.tar.gz
  crictl images|grep 9.0.73-jdk8-jmx-exporter|awk '{print($1":"$2)}'
  kubectl get nodes -o wide|awk -F '[ :]+' '{print($12)}'
}

